package com.danbay.cloud.device.mapper.electricmeter;

import com.danbay.cloud.device.entity.electricmeter.EmInfo;
import org.springframework.stereotype.Repository;

@Repository
public interface EmMapper {

    int insertEmInfo(EmInfo emInfo);

    EmInfo getEmInfoByMac(String mac);

    int modifyEmInfoById(EmInfo emInfo);

    EmInfo getEmInfoByDeviceId(String deviceId);
}